
<?php
/**
 * @Entity
 * @Table(name="topping_category")
 */

class ToppingCategory {



	/**
	 * @Id
	 * @Column(name="name", type="string", length=50, nullable=false)
	 */
	private $name;

	function ToppingCategory($toppingCategory){
		$this->setName($toppingCategory["name"]);
	}

	public function getName() 
	{
		return $this->name;
	} 

	public function setName($name) 
	{
		$this->name = $name;
	} 

	public static function dbGetToppingCategories($where){
		return dbGet("ToppingCategory", "topping_category", $where);
	}
}
?>
